SET MYSQL_HOME=C:\Program Files\MySQL\MySQL Server 5.1
"%MYSQL_HOME%\bin\mysql.exe" -p -u root < data.sql
pause